package com.cy.mall.model.ao.order;

import com.cy.mall.model.enums.order.InterestType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description 确认提交订单字段
 * @Author tanyilin
 * @Date 2019/7/17 10:46
 */
@Data
@ApiModel("确认提交订单字段")
public class ConfirmSubmitOrderAO {

    @ApiModelProperty(value = "申请金额", example = "0.00")
    @NotNull(message = "申请金额不可为空")
    private BigDecimal applyAmount;

    @ApiModelProperty(value = "申请期数", example = "0")
    @NotNull(message = "申请期数不可为空")
    private Integer applyPeriods;

    @ApiModelProperty(value = "家易贷申请的利息类型")
    @NotNull(message = "申请类型不可为空")
    private InterestType interestType;
}
